package com.fpswork.datamodel.base;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import java.util.Date;

@SuppressWarnings("serial")
@MappedSuperclass
public class BaseSysDO implements java.io.Serializable {

	@Column(name = "CREATEUSERID", nullable = true, length = 32)
	private String createuserid;    //新增操作员ID
	@Column(name = "CREATEUSERNAME", nullable =true, length = 32)
	private String createusername;   //新增操作员名称
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "CREATETIME", nullable =true, length = 32)
	private Date createtime;        //新增时间
	@Column(name = "UPDATEUSERID", nullable =true, length = 32)
	private String updateuserid;    //修改操作员ID
	@Column(name = "UPDATEUSERNAME", nullable =true, length = 32)
	private String updateusername;  //修改操作员名称
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "UPDATETIME", nullable =true, length = 32)
	private Date updatetime; //修改时间
	@Column(name = "VALID", nullable =true, length = 2)
	private String valid;  //有效标志 1有效  0无效
	public String getCreateuserid() {
		return createuserid;
	}
	public void setCreateuserid(String createuserid) {
		this.createuserid = createuserid;
	}
	public String getCreateusername() {
		return createusername;
	}
	public void setCreateusername(String createusername) {
		this.createusername = createusername;
	}
	public Date getCreatetime() {
		return createtime;
	}
	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}
	public String getUpdateuserid() {
		return updateuserid;
	}
	public void setUpdateuserid(String updateuserid) {
		this.updateuserid = updateuserid;
	}
	public String getUpdateusername() {
		return updateusername;
	}
	public void setUpdateusername(String updateusername) {
		this.updateusername = updateusername;
	}
	public Date getUpdatetime() {
		return updatetime;
	}
	public void setUpdatetime(Date updatetime) {
		this.updatetime = updatetime;
	}
	public String getValid() {
		return valid;
	}
	public void setValid(String valid) {
		this.valid = valid;
	}
	
	
	
}
